<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<form id="pagerForm" action="demo/database/dwzOrgLookup.html">
	<input type="hidden" name="pageNum" value="1" />
	<input type="hidden" name="numPerPage" value="${model.numPerPage}" />
	<input type="hidden" name="orderField" value="${param.orderField}" />
	<input type="hidden" name="orderDirection" value="${param.orderDirection}" />
</form>

<div class="pageHeader">
	<form rel="pagerForm" method="post" action="demo/database/dwzOrgLookup.html" onsubmit="return dwzSearch(this, 'dialog');">
	<div class="searchBar">
		<div class="subBar"></div>
	</div>
	</form>
</div>
<div class="pageContent">

	<table class="table" layoutH="118" targetType="dialog" width="100%">
		<thead>
			<tr>
				<th width="80">用户ID</th>
				<th width="80">用户名</th>
				<th width="80">登录账号</th>
				<th width="100">用户类型</th>
				<th width="80">性别</th>
				<th width="80">备注</th>
				<th width="80">编辑时间</th>
				<th width="80">是否删除</th>
				<th width="80">操作</th>
				<th width="80">操作</th>
			</tr>
		</thead>
		<tbody>
		<s:iterator value="UList">
			<tr>
				<td><input type="radio"><s:property value="userID" /></td>
				<td>${userName}</td>
				<td>${userAccount}</td>
				<td>${userType}</td>
				<td>${userSex}</td>
				<td>${userNote}</td>
				<td>${userEditTime}</td>
				<td>${userIsDel}</td>
				<td><input type="button" value="删除"/></td>
				<td><input type="button" value="恢复"/></td>
			</tr>
		</s:iterator>
		</tbody>
	</table>

	<div class="panelBar">
		<div class="pages">
			<span>每页</span>

			<select name="numPerPage" onchange="dwzPageBreak({targetType:dialog, numPerPage:'10'})">
				<option value="10" selected="selected">10</option>
				<option value="20">20</option>
				<option value="50">50</option>
				<option value="100">100</option>
			</select>
			<span>条，共2条</span>
		</div>
		<div class="pagination" targetType="dialog" totalCount="2" numPerPage="10" pageNumShown="1" currentPage="1"></div>
	</div>
</div>
</body>
</html>